package com.jgp.third.pay.controller;

import com.jgp.sys.controller.JGPBackController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2018/10/24
 */
@Controller
@RequestMapping("/third/pay/paymentConfigController")
public class PaymentConfigController extends JGPBackController {
    
    @RequestMapping("paymentMgr")
    public String mgr(){
        return page("paymentMgr");
    }
    
    @RequestMapping("addPaymentConfig")
    public String addPaymentConfig(){
        return page("editPaymentConfig");
    }
    
    @RequestMapping("editPaymentConfig/{configId}")
    public String editPaymentConfig(Model model, @PathVariable("configId") String configId){
        re(model,"configId",configId);
        return page("editPaymentConfig");
    }
}
